using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter20
{
	/// <summary>
	/// Example11: Who Turned Down the Thermostat?
	/// A student is trying to decide what to wear. The surroundings
	/// (his bedroom) are at 20.0 C. If the skin temperature of the 
	/// unclothed student is 35 C, what is the net energy loss from
	/// his body in 10.0 min by radiation? Assume that the emissivity
	/// of skin is 0.9 and that surface area of the student 
	/// is 1.5 m^2.
	/// Q = P_net \Delta t = 7.5 \times 10^4 J
	/// </summary>
	public class Example11
	{
		public Example11()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			double p = 5.67E-8*1.5*0.9*(Math.Pow(308.0,4.0)
				-Math.Pow(293.0,4.0));
			result = Convert.ToString(p*600.0);
		}
	}
}
